/**
 * 颜色选择器工具 CSS
 */

.color-preview-container {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.color-preview {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    transition: background-color 0.3s ease;
}

.color-picker-advanced {
    width: 100%;
    height: 250px;
    position: relative;
    margin-top: 15px;
}

.form-control-color {
    width: 100%;
    height: 38px;
    cursor: pointer;
}

/* 复制按钮悬停效果 */
.copy-btn:hover {
    background-color: #e9ecef;
}

/* 输入框焦点样式 */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .color-preview-container {
        height: 100px;
    }
    
    .color-picker-advanced {
        height: 200px;
    }
}